import {request} from "../../uilts/requests.ts";

// 根据id查找 用户
export function selectIdAndData(id: number) {
    return request({
        url: '/selectIdAndData',
        method: 'get',
        data: {id: id}
    });
}

// 获取所有用户信息
export function allUserData(data: any) {
    return request({
        url: '/allUserData',
        method: 'post',
        data: data
    });
}

